home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19981211-19990422 / 000420_news@watsun.cc.columbia.edu _Mon Mar 29 13:49:37 1999.msg < prev    next >
Internet Message Format  |  2020-01-01  |  5KB

  1. Return-Path: <news@watsun.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA09350
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Mon, 29 Mar 1999 13:49:34 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id NAA05845
  7.     for kermit.misc@watsun.cc.columbia.edu; Mon, 29 Mar 1999 13:40:32 -0500 (EST)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: jf3@my-dejanews.com
  10. Subject: Re: setting up kermit
  11. Date: Mon, 29 Mar 1999 18:33:11 GMT
  12. Organization: Deja News - The Leader in Internet Discussion
  13. Message-ID: <7doh16$k8c$1@nnrp1.dejanews.com>
  14. To: kermit.misc@watsun.cc.columbia.edu
  15.  
  16. Ok here is some information that I figured out....
  17.  
  18. THis is my script:
  19. ------------------------------------------------------------
  20. set input timeout proceed
  21. set modem hayes
  22. set dial dial-command atdt%s\{13}
  23. set dial display on
  24. set local-echo on
  25. set duplex full
  26. set line /dev/cua/b
  27. set speed 19200
  28. set parity even
  29. set script echo
  30. echo
  31. clear
  32. goto main
  33. :tryagain
  34. echo Trying again\7\13
  35. hangup
  36. :main
  37. OUTPUT ATDT9,4250824\13
  38. INPUT 40 CONNECT
  39. IF FAILURE GOTO tryagain
  40. INPUT 15 ID=
  41. OUTPUT M\13
  42. INPUT 15 ID,
  43. OUTPUT 4353389\13
  44. INPUT 15 essage
  45. OUTPUT uagent is running on spruce fir cedar willow and poplar\13
  46. hangup
  47. exit
  48. ---------------------------------------------------------
  49.  
  50. If I type in the first half by hand (all of the set statements) and then I
  51. type dial 94250824.  It works like a charm and I can get it and manually do
  52. all of the things that my script does.    However if I manually type in the
  53. OUTPUT ATDT line then I get the same error message:
  54.  
  55. ?Connection on /dev/cua1 is not open.
  56. ?Connection on /dev/cua1 is not open.
  57. Trying again
  58.  
  59. So that would say to me that there is a problem with the OUTPUT line??  Does
  60. this make sense??  Has the scripting changed from version 6 to 7??
  61.  
  62. Thanks for any more tips that anyone may be able to give me!
  63.  
  64. Jeremy
  65.  
  66. In article <7do5ok$9ra$1@nnrp1.dejanews.com>,
  67.   jf3@my-dejanews.com wrote:
  68. > Thanks for the hints... however, I am still getting the same errors.  I have
  69. > tried setting both the user and group owner of wermit to uucp.    I
  70. played with
  71. > the SUID and SGID bits on wermit.  I tried changing the owner of /dev/cua1
  72. > from root to uucp.  But I am still getting:
  73. >
  74. > ?Connection on /dev/cua1 is not open.
  75. > ?Connection on /dev/cua1 is not open.
  76. > Trying again
  77. > ?Connection on /dev/cua1 is not open.
  78. > ?Connection on /dev/cua1 is not open.
  79. > Trying again
  80. >
  81. > Any other ideas??
  82. >
  83. > Thanks!!
  84. >
  85. > Jeremy
  86. >
  87. > In article <F99L9H.In0@fcshome.stoneham.ma.us>,
  88. >   fredex@fcshome.stoneham.ma.us (fred smith) wrote:
  89. > > jf3@my-dejanews.com wrote:
  90. > > : Hello all,
  91. > >
  92. > > : I am a somewhat newbie at kermit and I was hoping that someone could
  93. answer
  94. > > : my question.  We had kermit running on a Solaris 2.5.1 box with a script
  95. > that
  96. > > : would page people.  That machine has died and I am trying to get it to run
  97. > on
  98. > > : a linux box.  I have a fresh install of Red Hat 5.2 with an external
  99. modem.
  100. > > : I have put the modem on com2/cua2.  When I run minicom, I am able to dial
  101. > out
  102. > > : and connect to other computers with no problems.  However, when I try to
  103. run
  104. > > : the script from my old Solaris box it tell me that it cannot open the
  105. > > : connection to the modem.  I have tried /dev/cua1, /dev/cua2, /dev/modem,
  106. to
  107. > > : no avail.
  108. > >
  109. > > What does 'ls -l /dev/cua2' look like? also ls -l output of your kermit?
  110. > > If the serial port is something like mine:
  111. > >
  112. > > crw-r-----   1 uucp     uucp       5,  67 Mar 27 12:09 /dev/cua3
  113. > >
  114. > > then the kermit should look like:
  115. > >
  116. > > -rwsr-xr-x   1 uucp     uucp       807668 Jan  1 21:33 /usr/local/bin/wermit
  117. > >
  118. > > note that both are owner/group uucp, AND (and this is important!) the
  119. > > kermit is setuid uucp! Kermit should NOT be setuid to root, it is smart
  120. > > enough to notice, and will refuse to run that way, but it must have
  121. > > access to the port as the port's owner.
  122. > >
  123. > > The one above is 6.1.193, the one below is 6.1.195 beta.04, note its
  124. > > permissions are slightly different:
  125. > >
  126. > > -rwsrwsr-x   1 uucp     uucp       971853 Feb 10 21:51 wermit
  127. > >
  128. > > --
  129. > > ---- Fred Smith -- fredex@fcshome.stoneham.ma.us
  130. -----------------------------
  131. > >                       The eyes of the Lord are everywhere,
  132. > >                     keeping watch on the wicked and the good.
  133. > > ----------------------------- Proverbs 15:3 (niv)
  134. > -----------------------------
  135. > >
  136. >
  137. > -----------== Posted via Deja News, The Discussion Network ==----------
  138. > http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own
  139. >
  140.  
  141. -----------== Posted via Deja News, The Discussion Network ==----------
  142. http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own